

import com.dg.Generator;
import com.dg.annotation.DBTable;
import com.dg.annotation.DBTableAttribute;
import com.dg.annotation.GenerateIBatisMapper;
import com.dg.annotation.GenerateIBatisMapperJUnitTest;
import com.dg.annotation.GenerateIBatisMapperXML;
import com.dg.annotation.GeneratePojoModel;
import com.dg.annotation.GenerateSQLScriptFile;
import com.dg.annotation.TestValue;

@DBTable(tableName="TProvincia")
@GenerateSQLScriptFile(outputFilename="CreaProvincia")
@GeneratePojoModel(outputFilename="Provincia",outputClassName="Provincia")
@GenerateIBatisMapper(outputFilename="ProvinciaMapper",outputClassName="ProvinciaMapper")
@GenerateIBatisMapperXML(outputFilename="ProvinciaMapper")
@GenerateIBatisMapperJUnitTest(outputFilename="ProvinciaMapperTest",outputClassName="ProvinciaMapperTest")
public class ProvinciaGenerator extends Generator {

	@DBTableAttribute(name="IdProvincia",sqlType="int",nullable=false,isUniquePrimaryKey=true,isIdentity=true)
    @TestValue(value="99999999l")
	Long idProvincia;

	@DBTableAttribute(name="Nome",sqlType="NVarchar(50)",nullable=false)
	@TestValue(value="NomeProvincia")
    String nome;

}
